import { lazy } from "react";
const RouterList=[
    //一级
    {
     path:'/home',
     element:lazy(()=>import('../pages/home/index')),
     tokens:true,
     //二级
     children:[
        {
            path:'/home/index',
            element:lazy(()=>import('../pages/index/index')),
        }
     ]
    },
    {
        path:'*',
        element:lazy(()=>import('../pages/404/index')),
    },
    //3D展览馆
    {
        path:'/3D',
        element:lazy(()=>import('../pages/3d2/3D/index')),
    
    },
    //登录
    {
        path:'/login',
        element:lazy(()=>import('../pages/login/index')),
    },
    {
        path:'/videow',
        element:lazy(()=>import('../pages/videow/index')),
    }
]
export default RouterList